package io.github.yuegod.clean.acl.property;

import io.github.yuegod.clean.acl.ApiAclClient;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author quziwei
 * @date 2021/8/5 8:31
 **/
@Data
@ConfigurationProperties(prefix = "api.acl.client")
public class ApiAclClientProperties {

    private Class<ApiAclClient> type;

    private Wechat wechat;

    /**
     * 微信相关配置
     */
    @Data
    public static class Wechat {
        /**
         * 微信开放平台接口请求地址
         */
        private String wechatApiUrl;

        /**
         * 请求appid
         */
        private String appid;

        /**
         * 请求密钥
         */
        private String key;
    }

}
